package tgc.edu.tms.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import tgc.edu.tms.custom.CommonService;
import tgc.edu.tms.entity.Schoolyear;
import tgc.edu.tms.repository.SchoolyearRepository;
@Service
public class SchoolyearService extends CommonService<Schoolyear, Integer>{
	@Autowired
	private SchoolyearRepository schoolyearDAO;

	public Schoolyear findByXnxq(String xnxq) {
		return schoolyearDAO.findByXnxq(xnxq);
	}

}
